// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
// Source File Name:   SysGroupRightData.java

package scsc.web.system.data;

import scsc.pub.tools.StringUtil;
import java.io.Serializable;
import scsc.pub.data.Groupright;
import scsc.pub.data.GrouprightPK;

public class SysGroupRightData
    extends Groupright
    implements Serializable {

  private String groupCode;
  private String groupName;
  public static final String groupNameDB = "GROUPNAME";
  private String transCode;
  private String transName;
  public static final String transNameDB = "TRANSNAME";

  public SysGroupRightData() {
    init();
  }

  public SysGroupRightData(String groupcode, String groupname, String transcode,
                           String transname) {
    setGroupCode(groupcode);
    setGroupName(groupname);
    setTransCode(transcode);
    setTransName(transname);
  }

  public String getGroupCode() {
    return groupCode;
  }

  public void setGroupCode(String groupCode) {
    this.groupCode = StringUtil.trim(groupCode);
  }

  public String getGroupName() {
    return groupName;
  }

  public void setGroupName(String groupName) {
    this.groupName = StringUtil.trim(groupName);
  }

  public String getTransCode() {
    return transCode;
  }

  public void setTransCode(String transCode) {
    this.transCode = StringUtil.trim(transCode);
  }

  public String getTransName() {
    return transName;
  }

  public void setTransName(String transName) {
    this.transName = StringUtil.trim(transName);
  }

  public void reset() {
    init();
  }

  public void init() {
    setGroupCode("");
    setGroupName("");
    setTransCode("");
    setTransName("");
  }
}
